try {
	Type.registerNamespace('PurchaseInVO');

	//到货计划表VO
	PurchaseInVO = function() {};
	PurchaseInVO.prototype = new NCMMPubUtil.SuperVO();
	//到货单主键
	PurchaseInVO.PK_ARRIVEORDER = {
		name: "pk_arriveorder",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//到货单号
	PurchaseInVO.VBILLCODE = {
		name: "vbillcode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//到货日期
	PurchaseInVO.DBILLDATE = {
		name: "dbilldate",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//采购部门
    PurchaseInVO.DEPTNAME = {
        name: "deptname",
        type: NCMMPubUtil.VALUE_TYPE_TEXT
    };
	//到货单明细
	PurchaseInVO.PKARRIVEORDERB = {
		name: "pkarriveorderb",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//物料名称
	PurchaseInVO.MATERIALNAME = {
		name: "materialname",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//应收主数量
	PurchaseInVO.NNUM = {
		name: "nnum",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//应收数量
	PurchaseInVO.NASTNUM = {
		name: "nastnum",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//辅单位
	PurchaseInVO.CASTUNITID = {
		name: "castunitid",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//辅单位名称
    PurchaseInVO.CASTUNITIDNAME = {
        name: "castunitidname",
        type: NCMMPubUtil.VALUE_TYPE_TEXT
    };
    //换算率
     PurchaseInVO.VCHANGERATE = {
        name: "vchangerate",
        type: NCMMPubUtil.VALUE_TYPE_TEXT
    };
    
	//单据状态
	PurchaseInVO.FBILLSTATUS = {
		name: "fbillstatus",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//计划到货日期
	PurchaseInVO.DPLANRECEIVEDATE = {
		name: "dplanreceivedate",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//集团
	PurchaseInVO.HPK_GROUPCODE = {
		name: "hpk_groupcode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};

	PurchaseInVO.PK_GROUPCODE = {
		name: "pk_groupcode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//库存组织最新版本
	PurchaseInVO.HPK_ORG = {
		name: "hpk_org",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//物料
	PurchaseInVO.PK_SRCMATERIAL = {
		name: "pk_srcmaterial",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};

	//表头ts
	PurchaseInVO.HTS = {
		name: "hts",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//表头是否删除标识
	PurchaseInVO.HDR = {
		name: "hdr",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//供应商名称
	PurchaseInVO.PK_SUPPLIERNAME = {
		name: "pk_suppliername",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//供应商
	PurchaseInVO.PK_SUPPLIER = {
		name: "pk_supplier",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//仓库
	PurchaseInVO.PK_RECEIVESTORE = {
		name: "pk_receivestore",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//仓库名称
	PurchaseInVO.RECEIVESTORENAME = {
		name: "receivestorename",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//规格
	PurchaseInVO.MATERIALSPEC = {
		name: "materialspec",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//型号
	PurchaseInVO.MATERIALTYPE = {
		name: "materialtype",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//物料简称
	PurchaseInVO.MATERIALSHORTNAME = {
		name: "materialshortname",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//物料版本
	PurchaseInVO.PK_MATERIAL = {
		name: "pk_material",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//物料编码
	PurchaseInVO.PKSRCMATERIALCODE = {
		name: "pksrcmaterialcode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	
	//表体集团
	PurchaseInVO.BPK_GROUPCODE = {
		name: "bpk_groupcode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//表体库存组织主键
	PurchaseInVO.BPK_ORG = {
		name: "bpk_org",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//表体ts
	PurchaseInVO.BTS = {
		name: "bts",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//表体是否删除标识
	PurchaseInVO.BDR = {
		name: "bdr",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//主单位
	PurchaseInVO.CUNITID = {
		name: "cunitid",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//主单位名称
    PurchaseInVO.CUNITIDNAME = {
        name: "cunitidname",
        type: NCMMPubUtil.VALUE_TYPE_TEXT
    };
	//累计入库主数量
	PurchaseInVO.NACCUMSTORENUM = {
		name: "naccumstorenum",
		type: NCMMPubUtil.VALUE_TYPE_REAL
	};
	//批次号编码
	PurchaseInVO.VBATCHCODE = {
		name: "vbatchcode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//批次号
	PurchaseInVO.PK_BATCHCODE = {
		name: "pk_batchcode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//已扫描主数量
	PurchaseInVO.SCANEDNUM = {
		name: "scanednum",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//行号
	PurchaseInVO.CROWNO = {
		name: "crowno",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//供应商批次号
	PurchaseInVO.VVENDBATCHCODE = {
		name: "vvendbatchcode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};

	PurchaseInVO.prototype.getAllAttrs = function() {
		return [
			PurchaseInVO.PK_ARRIVEORDER,
			PurchaseInVO.PKARRIVEORDERB,
			PurchaseInVO.MATERIALNAME,
			PurchaseInVO.NNUM,
			PurchaseInVO.NASTNUM,
			PurchaseInVO.VBILLCODE,
			PurchaseInVO.DBILLDATE,
			PurchaseInVO.FBILLSTATUS,
			PurchaseInVO.DPLANRECEIVEDATE,
			PurchaseInVO.HPK_GROUPCODE,
			PurchaseInVO.PK_GROUPCODE,
			PurchaseInVO.HPK_ORG,
			PurchaseInVO.PK_SRCMATERIAL,
			PurchaseInVO.HTS,
			PurchaseInVO.HDR,
			PurchaseInVO.PK_SUPPLIERNAME,
			PurchaseInVO.PK_SUPPLIER,
			PurchaseInVO.PK_RECEIVESTORE,
			PurchaseInVO.RECEIVESTORENAME,
			PurchaseInVO.MATERIALSPEC,
			PurchaseInVO.MATERIALTYPE,
			PurchaseInVO.MATERIALSHORTNAME,
			PurchaseInVO.PK_MATERIAL,
			PurchaseInVO.PKSRCMATERIALCODE,
			PurchaseInVO.BPK_GROUPCODE,
			PurchaseInVO.DEPTNAME,
			PurchaseInVO.BPK_ORG,
			PurchaseInVO.BTS,
			PurchaseInVO.BDR,
			PurchaseInVO.CASTUNITID,
			PurchaseInVO.CASTUNITIDNAME,
			PurchaseInVO.CUNITID,
			PurchaseInVO.CUNITIDNAME,
			PurchaseInVO.VCHANGERATE,
			PurchaseInVO.NACCUMSTORENUM,
			PurchaseInVO.VBATCHCODE,
			PurchaseInVO.PK_BATCHCODE,
			PurchaseInVO.SCANEDNUM,
			PurchaseInVO.CROWNO,
			PurchaseInVO.VVENDBATCHCODE
		
		];
	};
	PurchaseInVO.prototype.getTableName = function() {
		return "app_po_arriveorder";
	};
	PurchaseInVO.prototype.getPrimaryAttr = function() {
		return PurchaseInVO.PKARRIVEORDERB;
	};
} catch(e) {
	$e(e);
}